package 第一题;

public class Book {
     String title;
     String press;
     String author;
     String date;
	
   public Book( String title,String press,String author,String date) {
	   this.title=title;
	   this.press=press;
	   this.author=author;
	   this.date=date;
	   
	   
   }
     public void print() {
    	 
    	 System.out.println("书籍信息：\n书籍"+this.title+
    			 ",出版社"+this.press+",作者"+this.author+
    			 ",出版日期"+this.date);
	}
    

}
